<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>demo1</title>
</head>
<body>
<script type="text/javascript">
class Point{
	constructor(x, y){
		this.x = x;
		this.y = y
	}
}

let point = new Point(3, 4);
console.log(point.x);
</script>
</body>
</html>